Sort List of tuples based on second element

join shbcf.ru